package com.cloudfun.msglisten.common.model.dto.dingtalk;

import lombok.Data;

import java.util.List;

/**
 * Created by Huqin on 2020/5/13
 */
@Data
public class RobotMessageAtDTO {

    /**
     * 被@人的手机号(在text内容里要有@手机号)
     */
    private List<String> atMobiles;

    /**
     * \@所有人时：true
     */
    private boolean isAtAll;

    public RobotMessageAtDTO(List<String> atMobiles) {
        this.atMobiles = atMobiles;
    }

    public RobotMessageAtDTO(boolean isAtAll) {
        this.isAtAll = isAtAll;
    }
}
